package com.ecoolex.ying.space.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.ying.space.entity.PickGoods;
import com.ecoolex.ying.space.entity.PickGoodsExample;
import com.ecoolex.ying.space.entity.PickGoodsWithBLOBs;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface PickGoodsMapper {
    long countByExample(PickGoodsExample example);

    int deleteByExample(PickGoodsExample example);

    int deleteByPrimaryKey(Integer pickGoodsId);

    int insert(PickGoodsWithBLOBs record);

    int insertSelective(@Param("record") PickGoodsWithBLOBs record, @Param("selective") PickGoodsWithBLOBs.Column ... selective);

    PickGoods selectOneByExample(PickGoodsExample example);

    PickGoodsWithBLOBs selectOneByExampleWithBLOBs(PickGoodsExample example);

    List<PickGoodsWithBLOBs> selectByExampleWithBLOBs(PickGoodsExample example);

    List<PickGoods> selectByExample(PickGoodsExample example);

    PickGoodsWithBLOBs selectByPrimaryKey(Integer pickGoodsId);

    PickGoodsWithBLOBs selectByPrimaryKeyWithLogicalDelete(@Param("pickGoodsId") Integer pickGoodsId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") PickGoodsWithBLOBs record, @Param("example") PickGoodsExample example, @Param("selective") PickGoodsWithBLOBs.Column ... selective);

    int updateByExampleWithBLOBs(@Param("record") PickGoodsWithBLOBs record, @Param("example") PickGoodsExample example);

    int updateByExample(@Param("record") PickGoods record, @Param("example") PickGoodsExample example);

    int updateByPrimaryKeySelective(@Param("record") PickGoodsWithBLOBs record, @Param("selective") PickGoodsWithBLOBs.Column ... selective);

    int updateByPrimaryKeyWithBLOBs(PickGoodsWithBLOBs record);

    int updateByPrimaryKey(PickGoods record);

    int batchInsert(@Param("list") List<PickGoodsWithBLOBs> list);

    int batchInsertSelective(@Param("list") List<PickGoodsWithBLOBs> list, @Param("selective") PickGoodsWithBLOBs.Column ... selective);

    int logicalDeleteByExample(@Param("example") PickGoodsExample example);

    int logicalDeleteByPrimaryKey(Integer pickGoodsId);
}